serve (someone) right

Translations
bien fait pour lui
Definitions
To give someone the punishment or consequences they deserve for their actions, often implying that they brought it upon themselves.